package consumidor;

public class Consumidor extends Thread {
	
	private Buffer b;
    private Elemento elemento;
	
	public Consumidor(Buffer b){
        this.b = b;
	}
	
    @Override
	public void run(){
		for(int i = 0; i < 1000; i++){
            elemento = b.sacar();
		}
	}
} 
